package com.huluobo.mvvm.db;

import androidx.room.Database;
import androidx.room.RoomDatabase;

import com.huluobo.mvvm.db.dao.MoneyDao;
import com.huluobo.mvvm.db.dao.UserInfoDao;
import com.huluobo.mvvm.db.eneity.Money;
import com.huluobo.mvvm.db.eneity.UserInfo;

/**
 * 数据库实体
 * Created by LC on 2023/9/16.
 */

@Database(entities = {UserInfo.class, Money.class}, version = 1, exportSchema = false)
public abstract class AppDatabase extends RoomDatabase {
    public abstract UserInfoDao getUserInfoDao();

    public abstract MoneyDao getMoneyDao();
}
